package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 qt_usesr_course
 * 
 * @author zqq
 * @date 2021-11-16
 */
public class QtUsesrCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 课程id */
    @Excel(name = "课程id")
    private String courseId;

    /** 是否是当前课程（0是，1否）默认1 */
    @Excel(name = "是否是当前课程", readConverterExp = "0=是，1否")
    private Integer isNow;
    private String courseName;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setIsNow(Integer isNow) 
    {
        this.isNow = isNow;
    }

    public Integer getIsNow() 
    {
        return isNow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("courseId", getCourseId())
            .append("isNow", getIsNow())
            .toString();
    }
}
